home *** CD-ROM | disk | FTP | other *** search
/ CD-ROM Today - The Disc! 5 / CD-ROM Today - The Disc (Issue 5)(November 1994).ISO / mac / DHA demo / Don Norman Folder / Don Norman demo / Don Norman demo.rsrc / OWdf_15080_Find.def < prev    next >
Text File  |  1994-09-21  |  4KB  |  262 lines

  1. WINDOWPROPERTIES
  2. NAME:Find
  3. CLOSESCRIPT:put @WindowName into wn┬
  4. set the donterase of window wn to winc(wn)┬
  5. if there is a menu "Books" then set the checkmark of menuitem "Find╔" of menu "Books" to false
  6. USELOCALRECTS:true
  7. RECT:31,55,251,192
  8. COLLAPSEDRECT:43,64,263,64
  9. HSCROLL:false
  10. VSCROLL:false
  11. GROWICON:false
  12. SCROLL:0,0
  13. COLLAPSED:false
  14. WANTSIDLETIME:true
  15. ANIMATEDCURSORID:0
  16. DONTERASE:true
  17. NEVERSELECT:false
  18. USEPALETTEID:0
  19. CURSOR:0
  20. IDLESCRIPT:lookforreturn @Target
  21. USERDATA:
  22. SELECTSCRIPT:
  23. PUTFILEDIALOGID:4500
  24. SAVEBEFORECLOSING:true
  25. ISCOLLAPSABLE:true
  26. LIMITWINDOWRECT:true
  27. SAVEMETHOD:Resource
  28. SAVECHANGES:true
  29.  
  30. PICTURE
  31. NAME:Colors
  32. VISIBLE:true
  33. SCRIPT:
  34. CURSOR:128
  35. TYPE:Resource
  36. PATH:FindWindow
  37. TOPLEFT:0,0
  38. RECT:0,0,220,137
  39. FITTOFRAME:false
  40. HASFRAME:false
  41. MASK:false
  42. SCROLL:0,0
  43. TRIMRECT:-1,-1,-1,-1
  44. USERDATA:
  45. INKMODE:srcCopy
  46. COLORTABLEID:0
  47. DITHER:false
  48.  
  49. TEXT
  50. NAME:FindText
  51. VISIBLE:true
  52. SCRIPT:
  53. CURSOR:304
  54. TYPE:Describe
  55. PATH:@StackPath:Sample Text:Text File 1
  56. RECT:5,32,216,54
  57. HASFRAME:false
  58. INSET:1
  59. TRANSPARENT:true
  60. EDITABLE:true
  61. SELECTABLE:true
  62. PAGE:1
  63. NUMBEROFPAGES:0
  64. SCROLL:0,0
  65. HASVSCROLL:false
  66. LINEHEIGHTFONTASCENT:-1,-1
  67. SELECTION:1,0
  68. DEFAULTFONT:Chicago
  69. DEFAULTSIZE:12
  70. DEFAULTSTYLE:plain
  71. TEXTDATA:
  72. USERDATA:
  73. MOVEMOUSETICKS:0
  74. ALIGNMENT:Default
  75. PAGEBREAKTABLE:
  76.  
  77. PICTURE
  78. NAME:Checkmark1
  79. VISIBLE:true
  80. SCRIPT:beep┬
  81. beep
  82. CURSOR:128
  83. TYPE:Resource
  84. PATH:Checked
  85. TOPLEFT:6,76
  86. RECT:6,76,17,87
  87. FITTOFRAME:false
  88. HASFRAME:false
  89. MASK:false
  90. SCROLL:0,0
  91. TRIMRECT:-1,-1,-1,-1
  92. USERDATA:
  93. INKMODE:srcCopy
  94. COLORTABLEID:0
  95. DITHER:false
  96.  
  97. PICTURE
  98. NAME:Checkmark2
  99. VISIBLE:true
  100. SCRIPT:beep┬
  101. beep
  102. CURSOR:128
  103. TYPE:Resource
  104. PATH:Checked
  105. TOPLEFT:6,91
  106. RECT:6,91,17,102
  107. FITTOFRAME:false
  108. HASFRAME:false
  109. MASK:false
  110. SCROLL:0,0
  111. TRIMRECT:-1,-1,-1,-1
  112. USERDATA:
  113. INKMODE:srcCopy
  114. COLORTABLEID:0
  115. DITHER:false
  116.  
  117. PICTURE
  118. NAME:Checkmark3
  119. VISIBLE:true
  120. SCRIPT:beep┬
  121. beep
  122. CURSOR:128
  123. TYPE:Resource
  124. PATH:Checked
  125. TOPLEFT:6,106
  126. RECT:6,106,17,117
  127. FITTOFRAME:false
  128. HASFRAME:false
  129. MASK:false
  130. SCROLL:0,0
  131. TRIMRECT:-1,-1,-1,-1
  132. USERDATA:
  133. INKMODE:srcCopy
  134. COLORTABLEID:0
  135. DITHER:false
  136.  
  137. TRANSPARENTBUTTON
  138. NAME:Gould
  139. VISIBLE:true
  140. SCRIPT:get checkmark1_visible of window @WindowName┬
  141. set checkmark1_visible of window @WindowName to not it
  142. CURSOR:128
  143. RECT:6,75,205,90
  144. HASFRAME:false
  145. USERDATA:
  146. ISTRANSPARENT:true
  147. RGBFILLCOLOR:0,0,0
  148. INKMODE:srcCopy
  149.  
  150. TRANSPARENTBUTTON
  151. NAME:Darwin
  152. VISIBLE:true
  153. SCRIPT:get checkmark2_visible of window @WindowName┬
  154. set checkmark2_visible of window @WindowName to not it
  155. CURSOR:128
  156. RECT:6,90,205,105
  157. HASFRAME:false
  158. USERDATA:
  159. ISTRANSPARENT:true
  160. RGBFILLCOLOR:0,0,0
  161. INKMODE:srcCopy
  162.  
  163. TRANSPARENTBUTTON
  164. NAME:Historical
  165. VISIBLE:true
  166. SCRIPT:get checkmark3_visible of window @WindowName┬
  167. set checkmark3_visible of window @WindowName to not it
  168. CURSOR:128
  169. RECT:6,105,205,120
  170. HASFRAME:false
  171. USERDATA:
  172. ISTRANSPARENT:true
  173. RGBFILLCOLOR:0,0,0
  174. INKMODE:srcCopy
  175.  
  176. TRANSPARENTBUTTON
  177. NAME:All
  178. VISIBLE:true
  179. SCRIPT:FindText
  180. CURSOR:128
  181. RECT:174,6,216,28
  182. HASFRAME:true
  183. USERDATA:
  184. ISTRANSPARENT:false
  185. RGBFILLCOLOR:0,0,0
  186. INKMODE:adMax
  187.  
  188. PICTURE
  189. NAME:Dots2
  190. VISIBLE:true
  191. SCRIPT:set cursor to watch┬
  192. set the LockScreen of window @WindowName to true┬
  193. get the dots_path of window @WindowName┬
  194. if it = "hidot" then set the dots_path of window @WindowName to "LoDot"┬
  195. else set the dots_path of window @WindowName to "HiDot"┬
  196. set the cover_visible of window @WindowName to it = "hidot"┬
  197. set the matchtext_visible of window @WindowName to it = "hidot"┬
  198. set the LockScreen of window @WindowName to false┬
  199. set cursor to browse
  200. CURSOR:128
  201. TYPE:Resource
  202. PATH:HiDot
  203. TOPLEFT:4,4
  204. RECT:4,4,16,30
  205. FITTOFRAME:false
  206. HASFRAME:false
  207. MASK:true
  208. SCROLL:0,0
  209. TRIMRECT:-1,-1,-1,-1
  210. USERDATA:
  211. INKMODE:srcCopy
  212. COLORTABLEID:0
  213. DITHER:false
  214.  
  215. TRANSPARENTBUTTON
  216. NAME:Type
  217. VISIBLE:true
  218. SCRIPT:get the dots2_path of window @WindowName┬
  219. if it = "hidot" then set the dots2_path of window @WindowName to "LoDot"┬
  220. else set the dots2_path of window @WindowName to "HiDot"
  221. CURSOR:128
  222. RECT:4,4,110,30
  223. HASFRAME:false
  224. USERDATA:
  225. ISTRANSPARENT:true
  226. RGBFILLCOLOR:0,0,0
  227. INKMODE:srcCopy
  228.  
  229. TRANSPARENTBUTTON
  230. NAME:Supplement
  231. VISIBLE:true
  232. SCRIPT:get checkmark4_visible of window @WindowName┬
  233. set checkmark4_visible of window @WindowName to not it
  234. CURSOR:128
  235. RECT:6,120,205,135
  236. HASFRAME:false
  237. USERDATA:
  238. ISTRANSPARENT:true
  239. RGBFILLCOLOR:0,0,0
  240. INKMODE:srcCopy
  241.  
  242. PICTURE
  243. NAME:Checkmark4
  244. VISIBLE:true
  245. SCRIPT:beep┬
  246. beep
  247. CURSOR:128
  248. TYPE:Resource
  249. PATH:Checked
  250. TOPLEFT:6,121
  251. RECT:6,121,17,132
  252. FITTOFRAME:false
  253. HASFRAME:false
  254. MASK:false
  255. SCROLL:0,0
  256. TRIMRECT:-1,-1,-1,-1
  257. USERDATA:
  258. INKMODE:srcCopy
  259. COLORTABLEID:0
  260. DITHER:false
  261.